﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ERPStore.Offers.Repositories
{
	public interface IOffersRepository
	{
		IQueryable<Models.OfferEx> GetOfferList();
		void Save(Models.OfferEx offer);
		void SaveOfferedProduct(Models.OfferedProduct offeredProduct);
		IEnumerable<Models.OfferedProduct> GetOfferedProductListByOfferId(int selectionId);
		IQueryable<Models.OfferedProduct> GetOfferedProductList();
		void DeleteOfferedProduct(Models.OfferedProduct offeredProduct);
		void DeleteOffer(Models.OfferEx offer);
	}
}
